import fetch from 'fetch'

export default {
  // 班级列表
  classList (params) {
    return fetch({
      url: 'v1/user/train/comment/findClassSchedule',
      params
    })
  },
  // 训练大纲查询详情
  detail (params) {
    return fetch({
      url: 'v1/train/classroom/drilloutline',
      params
    })
  },
  // 训练大纲课时
  periodList (params) {
    return fetch({
      url: 'v1/train/classroom/schedule',
      params
    })
  },
  // 训练计划详情
  plan (params) {
    return fetch({
      url: 'v1/train/schedule/drillplan/info',
      params
    })
  },
  // 训练方式详情
  planDetails (params) {
    return fetch({
      url: 'v1/train/traingstyle/info',
      params
    })
  }
}
